<?php
function smarty_function_ddht_event_link($params, &$smarty)
{
	$intId 		= isset($params['id']) ? $params['id'] : 0;	
	$strName 	= isset($params['name']) ? $params['name'] : '';	
	return Ecore_Rewrite_Event::link($intId, $strName);
}